package com.qiaofang.collectmanage.dao;

import com.qiaofang.collectmanage.dao.domain.HouseAgent;
import com.qiaofang.collectmanage.stub.bean.BatchGetHouseAgentRepeatDTO;
import com.qiaofang.collectmanage.stub.bean.BatchUpdateHouseAgentDTO;
import com.qiaofang.collectmanage.stub.bean.RemoveHouseAgentDTO;

import java.util.List;

public interface HouseAgentEsDao {


    void deleteIndex(String indexHswhHouseAgent, String indexTypeAgent, RemoveHouseAgentDTO removeHouseAgentDTO);

    void batchUpdateHouseAgent(String indexHswhHouseAgent, String indexTypeAgent, List<BatchUpdateHouseAgentDTO> batchUpdateHouseAgentDTOs,int isAgent);

    void singleUpdateHouseAgent(String indexHswhHouseAgent, String indexTypeAgent, BatchUpdateHouseAgentDTO batchUpdateHouseAgentDTO,int isAgent);

    HouseAgent getHouseAgent(HouseAgent houseAgent);

    List<BatchGetHouseAgentRepeatDTO> batchGetHouseAgentRepeat(String indexHswhHouseAgent, String indexTypeAgent, List<BatchUpdateHouseAgentDTO> batchUpdateHouseAgentDTOs);
    List<BatchGetHouseAgentRepeatDTO> batchGetHouseAgentRepeatDeletedOrNotDeleted(String indexHswhHouseAgent, String indexTypeAgent, List<BatchUpdateHouseAgentDTO> batchUpdateHouseAgentDTOs);

}
